Skip to content

feat: phase 2 stratigraphic column changes - #133

Open
lachlangrose wants to merge 10 commits into
feat/shared-layer-rolesfrom
feat/strat-column-ui
Open

lachlangrose wants to merge 10 commits into
feat/shared-layer-rolesfrom
feat/strat-column-ui

Conversation

@lachlangrose

@lachlangrose lachlangrose commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Phase 2 of the usability plan. It is based on phase 1 (#132), so the base branch is feat/shared-layer-roles. Change the base to main after #132 is merged.

Test plan

  • pytest tests in QGIS 3.42 (241 passed)
  • Open the Stratigraphic Column tab. Check the layout at a normal dock width.
  • Add units and unconformities, drag rows, and check the summary of unit names.
  • Use each "Style by" option with Apply.
  • Use "Build column" and the overflow menu (Clear asks for confirmation).
  • Make the dock short and check that the tab scrolls.
  • Open the User-Defined Stratigraphic Column dialog, which embeds the same widget.

🤖 Generated with Claude Code

Describe the current usability problems, a step-based dock, a direct
interpolation entry, and derived data that is updated when its inputs
change. Split the work into phases.
Add each toolbar action one time and call initProcessing one time. Show the
fault adjacency instructions. Show one message for the basal contacts result.
Show success results in the message bar. Ask for confirmation before the
stratigraphic column is cleared. Delete the unused .ui files, and keep
export_tab.ui for the export step.
Add shared layer roles (geology, unit field, fault traces, structure, basal
contacts, DEM) and a contacts source setting. The map2loop tools show the
roles as their default layers.

Record a hash of the inputs of the basal contacts, the calculated thickness
and the strat_order field. Show the out-of-date results in the stratigraphic
column tab with an Update button. Record if a unit thickness was typed or
calculated, and do not replace a typed thickness.
Put the geology layer first with a summary of the unit names that have no
match. Use text buttons for adding units, a Build column menu and an overflow
menu. Add Youngest and Oldest labels and a text for an empty column. Replace
the three apply buttons with one Style map layer group. Use QgsColorButton and
theme icons in the rows, and remove the outer scroll area.
QgsMessageBar.pushSuccess, pushInfo and pushWarning do not accept a
duration argument. This caused a TypeError when a tool showed a
success message.
…ic column UI branch

Take the phase 1 fixes from abb6e57 and the CI changes from main. Keep the
thickness tooltip and put back the outer scroll area of the tab.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant